package concursos.concurso;

import java.io.Serializable;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

@Entity
@Table(schema="th28841_testes")
public class Bibliografia implements Serializable {

    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@Id
    private long id;

	private String referencia;

    @ManyToOne
    private NormaComplementar normaComplementar;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getReferencia() {
        return referencia;
    }

    public void setReferencia(String referencia) {
        this.referencia = referencia;
    }

	public NormaComplementar getNormaComplementar() {
		return normaComplementar;
	}

	public void setNormaComplementar(NormaComplementar normaComplementar) {
		this.normaComplementar = normaComplementar;
	}

	public static long getSerialVersionUID() {
		return serialVersionUID;
	}
    
    
}
 
